3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
typedef struct RGBColor {
Float32 red;
Float32 green;
Float32 blue;
} RGBColor;
typedef struct ARGBColor {
Float32 alpha;
Float32 red;
Float32 green;
Float32 blue;
} ARGBColor;
The values in the fields of a color data type must lie in the closed interval [0, 1]. 0 is the minimum value; 1 is the maximum value.
The 3D metafile currently supports only the RGB (red, green, blue) color model (as opposed to color models such as HSV, LAB, etc.).
Previous | QD3D Book | Overview | Chapter Contents | Next |